SET CONTROL DEVICE
This command will select a known control device for use as the current device.
SET CONTROL DEVICE Device Name$
SET CONTROL DEVICE Device Name$, Device Index
Device Name$
String
You must provide the name of the device. Use the checklist command to find all the names of currently available control devices
Device Index
Integer
This value is an integer number such as 1.
This command does not return a value.
You must provide the name of the device. Use the checklist command to find all the names of currently available control devices. The additional parameter can be used to select the secondary joysticks attached to the computer with the same name. Only two devices are supported to run simultaniously. The standard JOYSTICK commands, and the additional CONTROL DEVICE assigned by this command. Use CONTROL DEVICE commands to obtain the data from the set device, not the JOYSTICK commands.
rem Prepare Force Feedback (if available)
ForcePresent=0
empty checklist
PERFORM CHECKLIST FOR CONTROL DEVICES
for c=1 to checklist quantity()
if checklist value a(c)=1
SET CONTROL DEVICE checklist string$(c)
ForcePresent=1
endif
next c
end
INPUT Commands Menu
Index